home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 February / CMCD0205.ISO / Software / Freeware / Programare / bluej / bluejsetup-203.exe / {app} / lib / spanish / templates / newclass / abstract.tmpl next >
Text File  |  2004-12-19  |  459b  |  24 lines

  1. $PKGLINE/**
  2.  * Abstract class $CLASSNAME - write a description of the class here
  3.  * 
  4.  * @author: 
  5.  * Date: 
  6.  */
  7. public abstract class $CLASSNAME
  8. {
  9.     // instance variables - replace the example below with your own
  10.     int x;
  11.  
  12.     /**
  13.      * An example of a method - replace this comment with your own
  14.      * 
  15.      * @param  y    a sample parameter for a method
  16.      * @return        the sum of x and y 
  17.      */
  18.     public int sampleMethod(int y)
  19.     {
  20.         // put your code here
  21.         return x + y;
  22.     }
  23. }
  24.